package myJs.myPkg.reactBootstrap

import myJs.Implicits.JDJAn
import slinky.core._
import slinky.core.annotations.react
import slinky.core.facade.ReactElement
import slinky.readwrite.ObjectOrWritten

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport
import scala.scalajs.js.|

/**
 * Created by yz on 28/3/2022
 */
@react object Tabs extends ExternalComponent {
  case class Props(
                    id: String,
                    defaultActiveKey: js.UndefOr[String] = js.undefined,
                    activeKey: String,
                    onSelect: String => Unit,
                    transition: Boolean = true,
                  )

  @js.native
  @JSImport("react-bootstrap", "Tabs")
  object Component extends js.Object {


  }

  override val component = Component

}
